package com.fs.cv.pojo.pojodao;

/*.*
 * @作者: 小梁子
 * @时间: 2020/10/2 16:49
 * @描述:
 */

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public class Class {
    private int classId;//班级id
    private String className;//班级名字
    private int departmentId;//专业id

    public Class() {
    }

    public Class(int classId, String className, int departmentId) {
        this.classId = classId;
        this.className = className;
        this.departmentId = departmentId;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(int departmentId) {
        this.departmentId = departmentId;
    }

    @Override
    public String toString() {
        return "Class{" +
                "classId=" + classId +
                ", className='" + className + '\'' +
                ", departmentId=" + departmentId +
                '}';
    }
}
